-
Notifications
You must be signed in to change notification settings - Fork 119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Skip creating the yum.repos.d structure on debian based systems #3369
base: main
Are you sure you want to change the base?
Conversation
5b2c8fd
to
7ffb3cf
Compare
The changes in As for the rest of the changes: it looks to me that the issue that triggers the addition of the option in |
Sure. Thanks @pinotree for you answer. If you run
|
So what if you replace the usage of |
6b36a0d
to
2883279
Compare
Any thoughts on this PR @ptoscano ? |
One question I have is: on a Debian system without this patch, what do you get when running |
/etc/yum.repos.d and a file red hat.repo containing the header. |
Just to add - if you have rpm-repos in your Content View and run "subscription-manager repos", you might end up with repositories in redhat.repo causing other issues like breaking the package-profile-upload to katello |
Can you run the tests @ptoscano ? |
@jirihnidek Can you maybe give some feedback / start the tests? |
@sbernhard I'm just testing/reviewing this PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR. The file /var/lib/rhsm/repo_server_val/redhat.repo
is still created, which could be still confusing. I have two also other requests, because you use wrong names of Python modules.
2883279
to
9552aaa
Compare
Yes, thats true. I thought, this repo_server_val is a "internal storage" which is required for the sub-man and not something a user would ever see. |
Hmm, the code is wild. The file |
Make sense in general. Maybe "a lot of things" need to be adapted because of tests etc. Should we rename this in a separete PR? |
You are right. We can do that in another PR. |
Is there something missing for this PR? |
@jirihnidek / @ptoscano Any update for this? |
If you currently run "subscription-manager repos" on a debian/ubuntu system, the directory
/etc/yum.repos.d/
and the file/etc/yum.repos.d/redhat.repo
with only the header are created. This is confusing some debian/ubuntu users.This patch does fix this behaviour.